package com.woniuxy.rbac.shiro;

import org.apache.shiro.authc.AuthenticationToken;

public class SysToken implements AuthenticationToken {

    private String account;
    private String password;

    public SysToken(String account, String password) {
        this.account = account;
        this.password = password;
    }

    @Override
    public Object getPrincipal() {
        return account;
    }

    @Override
    public Object getCredentials() {
        return password;
    }
}
